a = [5,4,3,2,1]
b = [9,8,7,6]

c = list()

c = c + a[::-1]
c = c + b[::-1]
print c
